package com.mrdeer.merchant.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author ：xie jianchu
 * @date ：Created in 2020/9/9 0009 17:24
 */
@Data
@ApiModel(value = "StaffRoleDTO", description = "角色信息")
public class StaffRoleDTO implements Serializable {
    private static final long serialVersionUID = 5157291336527830137L;

    @ApiModelProperty("角色ID")
    private Long id;

    @ApiModelProperty("角色名称")
    private String name;

    @ApiModelProperty("角色编码")
    private String code;

    @ApiModelProperty("角色所属租户")
    private Long tenantId;

    @ApiModelProperty("角色包含权限列表")
    private List<String> privilegeCodes = new ArrayList<>();
}
